﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：ApplicationService.cs
// 功能描述：TongTongMall
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Runtime.Session;

namespace TongTongMall.Application.Services
{
    public abstract class ApplicationService : TongTongMallServiceBase, IApplicationService
    {
        /// <summary>
        /// 获取当前线程用户的身份信息
        /// </summary>
        public ITongTongMallSession Session { get; set; }

        protected ApplicationService()
        {
            Session = NullSession.Instance;
        }
    }
}
